<template>
  <div>
    <One/>
    <Two/>
  </div>
  
</template>

<script>
import One from '@/components/One.vue'
import Two from '@/components/Two.vue'
export default {
  name: "App",
 components:{
  One,
  Two
 }
}
</script>

<style scoped>
.box{
  width: 100px;
  height: 100px;
  background: red;
}

.yang-enter,
.yang-leave-to{
  opacity: 0;
}


.yang-enter-active{
  transition: all 2s linear;
}

.yang-leave-active{
  transition: all 2s linear;
  position: absolute;
}
</style>
